Hi gsmiko, thanks for your kind reply.
I gone through the example code which you have suggested me.I included the comdef.h, and Wbemidl.h in my QT application class and linked with wbemuuid.lib.But in if I used the API ,while compiling it is showing errors as ...
error C3861: 'CoInitializeEx': identifier not found, even with argument-dependent lookup
error C2065: 'COINIT_MULTITHREADED' : undeclared identifier
error C3861: 'CoInitializeEx': identifier not found, even with argument-dependent lookup
error C2065: 'COINIT_MULTITHREADED' : undeclared identifier
To copy to clipboard, switch view to plain text mode
The errors I posted above are few that I occour.So how can I be out of these type of errors.
So please help me to solve this problem.
With Regards,
Sudheer.
Bookmarks